import request from '@/utils/request'

export function loginAPI(data) {
  return request({
    url: 'adminUser/queryLoginUser',
    method: 'post',
    data: data
  })
}
export function authorizationAPI(params) {
  return request({
    url: '/adminUser/authorization',
    method: 'post',
    data: params
  })
}

export function logoutAPI() {
  return request({
    url: '/adminUser/logout',
    method: 'post'
  })
}
